// 入口，
// 通过action->mutations->states,这个流程进行操作
// 反过来编程
import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import mutations from './mutations'
import getters from './getters'
import actions from './actions'

Vue.use(Vuex)
export default new Vuex.Store({
  state,
  mutations,
  getters,
  actions
})
